//go:build wireinject

package main

import (
	"{{.ProjectName}}/internal/controller"
	"{{.ProjectName}}/internal/router"
	"{{.ProjectName}}/internal/service"

	"gitee.com/wu-jin-feng/fgin"
	"github.com/gin-gonic/gin"
	"github.com/google/wire"
)

func newWire(f *fgin.Fgin, e *gin.Engine) error {
	panic(wire.Build(
		service.ProviderSet,
		controller.ProviderSet,
		router.ProviderSet,
	))
}
